<include file="Public/HOME/HTML/head_html_5.html" />
<title>修改创意{$Think.const.TITLE}</title>
<include file="Public/HOME/HTML/CssAndJs.html" />
<include file="Public/HOME/HTML/middle_list.html" />
<js href="{$Think.const.DOMAIN_NAME}Public/Ueditor/js/jquery-2.0.2.js" />
<js
	href="{$Think.const.DOMAIN_NAME}Public/Ueditor/ueditor/ueditor.config.js" />
<js
	href="{$Think.const.DOMAIN_NAME}Public/Ueditor/ueditor/ueditor.all.min.js" />
<script>
            $(function(){
                var ue = UE.getEditor('content',{
                    serverUrl :'{:U('Home/Index/ueditor')}'
                });
            })                                                                           
</script>
<meta charset="utf-8" />
<include file="Public/HOME/HTML/ideaManagement.html" />
<div class="row">
	<div class="col-lg-10">
		<div class="widget-container fluid-height clearfix">
			<div class="heading">
				<i class="icon-reorder"></i>修改创意
			</div>
			<div class="widget-content padded">
				<form method="post" action="__SELF__" class="form-horizontal"
					enctype="multipart/form-data">
					<volist name="myidea" id="vo">
					<div class="form-group">
						<label class="control-label col-md-2"> 标题 </label>
						<div class="col-md-8">
							<input class="form-control" placeholder="" type="text"
								name="idea" value="{$vo.idea}" required>
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-md-2"> 内容 </label>
						<div class="col-md-8">
							<script id="content" name="content" type="text/plain">{$vo.content|htmlspecialchars_decode|stripslashes}</script>
							<script type="text/javascript">
                                    UE.getEditor('content', {
                                        theme: "default", //皮肤
                                        lang: "zh-cn", //语言
                                        initialFrameWidth: "100%", //初始化编辑器宽度,默认800
                                        initialFrameHeight: 320,
                                        toolbars: [['source', 'undo', //撤销
                                     'redo', //重做
                                     'bold', //加粗
                                     'italic', //斜体
                                     'underline', //下划线
                                     'selectall', //全选
                                     'preview', //预览
                                     'horizontal', //分隔线
                                     'cleardoc', //清空文档
                                     'fontfamily', //字体
                                     'fontsize', //字号
                                     'paragraph', //段落格式
                                     'simpleupload', //单图上传
                                     'insertimage', //多图上传
                                     'link', //超链接
                                     'emotion', //表情
                                     'justifyleft', //居左对齐
                                     'justifyright', //居右对齐
                                     'justifycenter', //居中对齐
                                     'justifyjustify', //两端对齐
                                     'forecolor', //字体颜色
                                     'backcolor', //背景色
                                     'insertorderedlist', //有序列表
                                     'insertunorderedlist', //无序列表
                                     'fullscreen', //全屏
                                     'imagenone', //默认
                                     'imageleft', //左浮动
                                     'imageright', //右浮动
                                     'imagecenter', //居中
                                     'lineheight', //行间距
                                     ]]
                                    });
                                </script>
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-md-2"> 是否公开 </label>
						<div class="col-md-8 clearfix">
							<div class="holder">
								<input class="check-ios" id="check1" name="optionsRadios1"
									type="checkbox" value="1"
								<if condition="$vo.ispublic eq '0'"> checked </if>
								> <label for="check1"> </label> <span></span>
							</div>
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-md-2"> 是否允许评论 </label>
						<div class="col-md-8 clearfix">
							<div class="holder">
								<input class="check-ios" id="check2" name="optionsRadios2"
									type="checkbox" value="1"
								<if condition="$vo.iscomment eq '0'"> checked </if>
								> <label for="check2"> </label> <span></span>
							</div>
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-md-2"> 附件 </label>
						<div class="col-md-8">
							<div class="fileupload fileupload-new" data-provides="fileupload">
								<div class="input-group" style="margin: 0 -3px 0 0px">
									<div class="form-control">
										<i class="icon-file fileupload-exists"></i> <span
											class="fileupload-preview">{$vo.attach}</span>
									</div>
									<div class="input-group-btn">
										<a class="btn btn-default fileupload-exists"
											data-dismiss="fileupload" href="#">取消</a> <span
											class="btn btn-default btn-file"><span
											class="fileupload-new">浏览</span><span
											class="fileupload-exists">重新选择</span><input type="file"
											name="attach"></span>
									</div>
								</div>
							</div>
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-md-2"> </label>
						<div class="col-md-8">
							<button class="btn btn-primary" type="submit"
								style="width: 100%; margin: 10px 0 30px 0">修&nbsp;&nbsp;改</button>
						</div>
					</div>
					</volist>
				</form>
				<!--   <include file="Public/HOME/HTML/footer.html" />-->
				</body>
				</html>